home *** CD-ROM | disk | FTP | other *** search
- Path: news.acns.nwu.edu!spice
- From: sen@nwu.edu (Subhro K. Sen)
- Newsgroups: comp.lang.c
- Subject: NEED to sort external file
- Date: Wed, 06 Mar 96 09:44:15 GMT
- Organization: Northwestern University, Evanston, IL. USA
- Message-ID: <4hjmpf$cuc_001@res-hall.nwu.edu>
- NNTP-Posting-Host: spice.res-hall.nwu.edu
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- I need to write a program to alphabetically sort a large external file of
- lines of characters. The best I came up with is to do it in parts since the
- file won't fit into memory.
-
- I'm thinking to start sorting by blocks using quicksort or something
- and then merge sorting them all together. But I am having trouble starting.
-
- Any help/ideas?
-
- Thanks!
-
- --
- sen@nwu.edu s u b h r o s e n
- http://www.eecs.nwu.edu/~sksen/ northwestern university
- PGP key: finger sksen@merle.acns.nwu.edu 2245 sheridan road, #409
- phone: (847)332-5252 evanston, illinois 60201
-